package com.example.demo.Service;

import com.example.demo.Entity.Friend;
import com.example.demo.Mapper.FriendMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FriendService {
    @Autowired
    public FriendMapper friendMapper;
    public List<Friend> selectAll(int id){
        return friendMapper.selectAll(id);
    }
}
